package com.grm.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.ToString;

/**
 * desc: 用户类
 * 
 * @author: gaorimao
 * @since: 2021-8-17
 */
@Data
@ToString
public class User {
	private Long id;
	private String name;
	private String phone;
	private String email;
	private String password;
	private Integer cityId;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private Integer sex;
}
